const getters = {
  theme: state => state.settings.theme,
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  userInfo: state => state.user.userInfo,
  userId: state => state.user.userId,
  userName: state => state.user.userName,
  avatar: state => state.user.avatar,
  roleName: state => state.user.roleName,
  status: state => state.user.status,
  permissionRoutes: state => state.permission.permissionRoutes,
  errorLogs: state => state.errorLog.logs
}
export default getters
